package com.zxy.service.impl;

import com.zxy.domain.User;
import com.zxy.mapper.UserMapper;
import com.zxy.service.UserService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class UserServiceImpl implements UserService {

    @Resource
    private UserMapper userMapper;

    @Override
    public User findUserByEmail(String email,String password) {
        return userMapper.findUserByEmail(email,password);
    }
}
